import Vue from 'vue'
import Vuex from 'vuex'
import persistedState from 'vuex-persistedstate'
import {userInfo,persistedStateUser} from '@/store'
import aaa from './aaa'
Vue.use(Vuex)

const persistedStateAaa = persistedState({
    storage: window.localStorage,
    key: 'active_aaa',
    paths: ['aaa']
});



export default new Vuex.Store({
    modules: {
        userInfo,
        aaa
    },
    plugins: [persistedStateUser,persistedStateAaa]
})
